<%@page contentType="text/html; charset=UTF-8" language="java" %>
<%@page pageEncoding="UTF-8"%>
<%@ include file="a_global.jsp"%>
<%
	request.setCharacterEncoding("UTF-8");
%>
<html>
<head>
<title></title>
<link href="css/common.css" rel="stylesheet" type="text/css">
</head>
<body>
<form name="form1" method="post" action="<%=com.humyu.servlet.DispatcherServlet.PREFIX%>a_cardajaxshow.jsp" target="mainFrame" >
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="center"><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#BBD1FC">
          <tr>
            <td align="center">请选择社会资源：
              <select name="SchoolID" id="SchoolID">
			  <%
			  	ICCardClient iccardclient = null;
			  	Admin admin = SkinUtil.getAdmin(request, response);
                                Iterator iterator = null;
                                      if (admin.isResource()) {
                                        iterator = CoreFactory.getInstanceClientManager().getICResources(
                                        admin);
                                      }
                                      else {
                                        iterator = CoreFactory.getInstanceClientManager().
                                        getICCardClientList();
                                      }
      			while (iterator.hasNext()) {
        			iccardclient = (ICCardClient) iterator.next();
          			out.println("<option value='" + iccardclient.getCardClientLogin() + "'>" + iccardclient.getCardClientLogin()+"["+iccardclient.getCardClientDesc()+"]" + "</option>");
      			}
			%>
              </select>
              <input name="listenID" type="hidden" id="listenID" value="<%=admin.getAdminID()%>"> </td>
          </tr>
        </table>
        <p>
          <input type="submit" name="Submit" value="查　询">
        </p></td>
    </tr>
  </table>
</form>
</body>
</html>
